<template></template>

<script setup>
import { useRouter, useRoute } from "vue-router";

const router = useRouter();
const route = useRoute();
// const gotoPath = route.params.path;
const {
  params: { path: gotoPath, ...params },
  meta: { ...meta },
  query: { ...query }
} = route;
router.replace({ path: gotoPath, ...params, query, meta });
</script>

<style lang="less" scoped></style>
